개요
일급 시민(first-class citizen)이라는 개념은 영국의 컴퓨터 과학자인 Christopher Strachey가 1960년도에 처음 사용한 용어입니다. 이 용어를 도입한 이유는 실수(real number)와 프로시저(procedure)를 구분하기 위해서 였는데요,
일급 시민의 정의
위키피디아에서 발췌하자면, 일급 시민의 정의는 다음과 같습니다.
In programming language design, a first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities. These operations typically include being passed as an argument, returned from a function, and assigned to a variable. - 위키피디아
요약하자면 일급 시민은 일반적으로 다른 엔티티에서 사용할 수 있는 모든 연산을 지원하는 엔티티라고 할 수 있습니다.